package com.xiu.json.engine;

import java.util.Map;
import java.util.Set;

/**
 * @Author: tjc
 * @description
 * @Date Created in 22:05 2022-04-03
 */
public class CharacterDef {

    static Set<Character> blankChars = Set.of(
            '\t', ' ', '\r', '\n'
    );
    static Set<Character> symbolSet = Set.of('[', ']', '{', '}', ',', ':');

    static Map<Character, Character> escapeMap = Map.of(
            '\\', '\\',
            '/', '/',
            'b', '\b',
            'f', '\f',
            'n', '\n',
            'r', '\r',
            't', '\t',
            '"', '"'
    );
}
